Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geom.shape #887

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Geom.shape #887

wants to merge 1 commit into from

Conversation

tbreloff
Copy link
Contributor

Since there's been a flurry of activity recently, I figured I'd finally submit a PR with my shape geom that has been part of Plots. Here's a usage example:

using Gadfly
x = 0.1:0.2:0.9
y = 0.7 * rand(5) + 0.15
 verts = [(-1.0,1.0),(-1.28,0.6),(-0.2,-1.4),(0.2,-1.4),(1.28,0.6),(1.0,1.0),(-1.0,1.0),(-0.2,-0.6),(0.0,-0.2),(-0.4,0.6),(1.28,0.6),(0.2,-1.4),(-0.2,-1.4),(0.6,0.2),(-0.2,0.2),(0.0,-0.2),(0.2,0.2),(-0.2,-0.6)]
plot(x=x, y=y, Geom.shape(verts), Theme(default_point_size = 30px, panel_fill=colorant"black"))

tmp

I obviously don't use Gadfly anymore, so this should be considered "as-is", meaning I don't intend to extend or maintain it.

@coveralls
Copy link

coveralls commented Aug 30, 2016

Coverage Status

Coverage decreased (-0.3%) to 65.266% when pulling 3c226a7 on tbreloff:tb_shape into 30670b3 on dcjones:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants